package com.ljf.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;
@Data
public class BaseQuery implements Serializable {
    private Integer currentPage = 1;
    private Integer pageSize = 3;

    private Map<String,Object> params;//其它参数
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
